*{
    box-sizing: border-box;
}

/* KeyFrames */
@keyframes rotate-hue {
  to {
   filter: hue-rotate(1turn);
  }
 }
/* Scroll Bar Style */
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: rgb(40, 167, 69); 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(106, 223, 120); 
}

/* Base Styles */
body{
    margin: 0;
    padding: 0;
    font-family: 'Bebas Neue', cursive;
    background-color: rgb(25,25,25);
    overflow-x: hidden;
}



header{
    display: inline-block;
}

a{
  list-style: none;
}

li{
  list-style: none;
}
/* Navagation Menu */
nav{
  background-color: rgba(25,25,25,0.6);
}


/* Genre Button Styles */
button {
  --border-radius: 15px;
  --border-width: 4px;
  appearance: none;
  position: relative;
  padding: 1em 2em;
  border: 0;
  background-color: #212121;
  font-family: "Roboto", Arial, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  z-index: 2;
 }
 
 button::after {
  --m-i: linear-gradient(#000, #000);
  --m-o: content-box, padding-box;
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  padding: var(--border-width);
  border-radius: var(--border-radius);
  background-image: conic-gradient(
     #488cfb,
     #29dbbc,
     #ddf505,
     #ff9f0e,
     #e440bb,
     #655adc,
     #488cfb
   );
  -webkit-mask-image: var(--m-i), var(--m-i);
  mask-image: var(--m-i), var(--m-i);
  -webkit-mask-origin: var(--m-o);
  mask-origin: var(--m-o);
  -webkit-mask-clip: var(--m-o);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  filter: hue-rotate(0);
  animation: rotate-hue linear 500ms infinite;
  animation-play-state: paused;
 }
 
 button:hover::after {
  animation-play-state: running;
 }
 
 button,
 button::after {
  box-sizing: border-box;
 }
 
 button:active {
  --border-width: 5px;
 }
/* Browse Movie Section */

h4, label{
    color: antiquewhite;
}

label{
    font-size: 1.5rem;
}

.genre-btn-widget{
  position: fixed;
  top: 50%;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6.25rem;
  width: 6.25rem;
  border-radius: 50%;
  background-color: rgba(106, 223, 120, 0.5);
  z-index: 2;
}

.genre-btn-widget img{
  height: inherit;
  width: inherit;
}

.genre-btn-widget:hover{
  cursor: pointer;
}

.genre-list{
  display:none;
  position: fixed;
  width: 20%;
  top: 0;
  left: 0;
  right: 80%;
  bottom: 0;
  padding: 0.313rem;
  overflow-y: scroll;
  z-index: 3;
}

.modal-close{
  color: rgb(255, 0, 0);
  background-color: #fff;
  height: 1.563rem;
  padding: 0.2rem;
  border-radius: 75%;
  position: absolute;
  font-size: 1rem;
  text-decoration: none;
  top: 2%;
  left: 5%;
}


.modal-close:hover{
  cursor: pointer;
}

.movie_series_wrap aside{
  display: grid;
  grid-template-columns: .1fr .1fr .1fr .1fr .1fr;
  grid-template-rows: max-content;
  justify-content: center;
  row-gap: 1em;
  padding: 0 0.313rem;
}
/* User Results Page & Elements */
/* ID Selectors */

/* Card Style  */
  .card{
    width: 15rem;
    background-color: rgb(13,13,13);
  }

  .card:hover{
    cursor: pointer;
  }

  .card img{
    height: 25rem;
  }

  .card-body{
    text-align: center;
    font-size: 20px;
  }

  .card-body a{
    color: rgb(40, 167, 69);
    text-decoration: none;
  }

  .card-body a:hover{
    color: rgb(248,248,255)
  }

  /* Media Query */
    /* Media Query for Mobile Devices */
    @media (max-width: 480px) {

      .genre-list h4{
        font-size: 1.2rem;
      }
      .slide-wrap{
        width: 100vw;
        overflow-x: scroll;
      }
      .slide-wrap aside{
        display: flex;
        width:fit-content;
        padding: 0.313rem;
      }

      .genre-list{
        width: max-content;
      }

      .modal-close{
        top: 0;
        left: 2%;
      }
    }
      
    /* Media Query for low resolution  Tablets, Ipads */
    @media (min-width: 481px) and (max-width: 767px) {
      .movie_series_wrap aside{
        display: grid;
        height: inherit;
        justify-content: center;
        width: auto;
        grid-template-columns: .05fr .05fr;
        row-gap: 0.7em;
      } 

     .genre-list{
        width: max-content;
      }
    }
      
    /* Media Query for Tablets Ipads portrait mode */
    @media (min-width: 768px) and (max-width: 1024px){
      body{
        overflow-x: hidden;
      }
      .movie_series_wrap aside{
        display: grid;
        height: inherit;
        justify-content: center;
        width: 100vw;
        grid-template-columns: .05fr .05fr;
        row-gap: 0.7em;
      } 

      .card{
        width: 12rem;
      }

      .genre-list{
        width: max-content;
      }
    }
      /* Media Query for Laptops and Desktops */
      @media (min-width: 1025px) and (max-width: 1280px){
    }
      
    /* Media Query for Large screens */
    @media (min-width: 1281px) {
      .card{
        width: 12rem;
      }
    }